﻿using System.Collections.Generic;
using Isaac.Joy.Identity.Module;
using Isaac.Joy.Menu.Module;

namespace Isaac.Joy.WebFramework.DtCms.Models
{
    /// <summary>
    /// 主框架视图模型
    /// </summary>
    public class FrameworkViewClass
    {
        /// <summary>
        /// 菜单集合
        /// </summary>
        public IEnumerable<IMenu> Menus { get; set; }

        /// <summary>
        /// 快捷菜单集合
        /// </summary>
        public IEnumerable<IMenu> QuickMenus { get; set; }

        /// <summary>
        /// 默认打开
        /// </summary>
        public string DefaultActionId { get; set; }

        /// <summary>
        /// 当前登录用户
        /// </summary>
        public User CurrentUser { get; set; }
    }
}